package com.example.databasepj.dto;

public class AdminUserData {
    //{
    //        user_ID: 1,
    //        user_name: '张三',
    //        studentOrWorkNumber: 20180001,
    //        role: '教职工'
    //    },
    private int user_ID; // 使用下划线命名以避免Java关键字
    private String user_name;
    private int studentOrWorkNumber;
    private String role;

    public AdminUserData(int user_ID, String user_name, int studentOrWorkNumber) {
        this.user_ID = user_ID;
        this.user_name = user_name;
        this.studentOrWorkNumber = studentOrWorkNumber;
    }

    public AdminUserData(int user_ID, String user_name, int studentOrWorkNumber, String role) {
        this.user_ID = user_ID;
        this.user_name = user_name;
        this.studentOrWorkNumber = studentOrWorkNumber;
        this.role = role;
    }

    public int getUser_ID() {
        return user_ID;
    }

    public void setUser_ID(int user_ID) {
        this.user_ID = user_ID;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public int getStudentOrWorkNumber() {
        return studentOrWorkNumber;
    }

    public void setStudentOrWorkNumber(int studentOrWorkNumber) {
        this.studentOrWorkNumber = studentOrWorkNumber;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
